export function removeEvent (elem, type, fn) {
  if (elem.removeEventListener) {
    return elem.removeEventListener(type, fn, false)
  } else {
    return elem.detachEvent('on' + type, fn)
  }
}
